Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Adding More Actions to Other Sprites

To set the movie's looping mode to palindrome, you add an action that is triggered when the key frame is loaded, as shown in Listing 3-9 . This action is triggered every time the key frame is reloaded.

Listing 9 Adding more actions to other sprites

        loopingFlags = loopTimeBase | palindromeLoopTimeBase;
        FailOSErr( AddMovieSetLoopingFlagsAction( sample,
                    kParentAtomIsContainer,
                    kQTEventFrameLoaded, loopingFlags ) )


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |